import http from "@/utils/http"

const prefixUrl = "/login"

export default {
  status() {
    return http.get(prefixUrl + "/status")
  },
  weixin() {
    return http.get(prefixUrl + "/weixin")
  },
  sms(mobile) {
    return http.get(prefixUrl + "/weixin/sms/" + mobile)
  },
  bind(params) {
    return http.post(prefixUrl + "/weixin/bind", params)
  },
}
